<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <input type="hidden" id="advancedStatus" name="advancedStatus" value="<#if (condition.advancedStatus)??>${condition.advancedStatus!''}</#if>">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label> <@label key='equipmentCode.C,colon'>设备编号：</@label> </label> <input type="text" name="equipmentCode" value="${condition.equipmentCode!''}" /></li>
                <li><label> <@label key='equipmentText.C,colon'>设备描述：</@label> </label> <input type="text" name="equipmentText" value="${condition.equipmentText!''}" /></li>
            </ul>
            <ul class="searchContent">
                <li><label><@label key="theDate.C,colon">作业日期：</@label></label> <input type="text" readonly="readonly" style="background-color: #fff;" name="theDateSt" dateFmt="yyyy-MM-dd" class="date" value="<#if (condition.theDateSt)??>${condition.theDateSt?string("yyyy-MM-dd")}</#if>" /> <a class="inputDateButton" href="javascript:;"><@label key="select.B">选择</@label></a></li>
                <li><label><@label key="to.C,colon">至：</@label></label> <input type="text" readonly="readonly" style="background-color: #fff;" name="theDateEd" dateFmt="yyyy-MM-dd" class="date" value="<#if (condition.theDateEd)??>${condition.theDateEd?string("yyyy-MM-dd")}</#if>" /> <a class="inputDateButton" href="javascript:;"><@label key="select.B">选择</@label></a></li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div></li>
            </ul>
        </div>
    </div>

</form>
<div class="pageContent">
    <table class="table border" width="100%" layoutH="134" style="overflow: scroll;">
        <thead>
            <tr>
                <th width="40"><@label key="serialNumber.C">序号</@label></th>
                <th width="100" orderField="equipmentCode"<#if (page.orderField?? && page.orderField == 'equipmentCode')>class="${page.orderDirection!''}"</#if>><@label key="equipmentCode.C">设备编号</@label></th>
                <th width="100" orderField="equipmentText"<#if (page.orderField?? && page.orderField == 'equipmentText')>class="${page.orderDirection!''}"</#if>><@label key="equipmentText.C">设备描述</@label></th>
                <th width="100" orderField="theDate"<#if (page.orderField?? && page.orderField == 'theDate')>class="${page.orderDirection!''}"</#if>><@label key="theDate.C">作业日期</@label></th>
                <th width="100" orderField="scheduledTime"<#if (page.orderField?? && page.orderField == 'scheduledTime')>class="${page.orderDirection!''}"</#if>><@label key="scheduledTime.C">计划作业时长</@label></th>
                <th width="100" orderField="downTime"<#if (page.orderField?? && page.orderField == 'downTime')>class="${page.orderDirection!''}"</#if>><@label key="downTime.C">停机时长(分)</@label></th>
                <th width="100" orderField="goodParts"<#if (page.orderField?? && page.orderField == 'goodParts')>class="${page.orderDirection!''}"</#if>><@label key="goodParts.C">良品数量</@label></th>
                <th width="100" orderField="defectiveParts"<#if (page.orderField?? && page.orderField == 'defectiveParts')>class="${page.orderDirection!''}"</#if>><@label key="defectiveParts.C">不良品数量</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as productionPerformance>
            <tr target="scheduledTime_id" rel="${scheduledTime.id!''}">
                <td>${page.startRow + productionPerformance_index}</td>
                <td>${productionPerformance.equipmentCode!''}</td>
                <td>${productionPerformance.equipmentText!''}</td>
                <td>${(productionPerformance.theDate?string("yyyy-MM-dd"))?if_exists}</td>
                <td>${productionPerformance.scheduledTime!'0'}</td>
                <td>${productionPerformance.downTime!'0'}</td>
                <td>${productionPerformance.goodParts!'0'}</td>
                <td>${productionPerformance.defectiveParts!'0'}</td>
            </tr>
            </#list> <#else>
            <tr>
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr>
                <td colspan="6" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
</div>

